<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page errorPage="error.jsp" %>
<html>
<head lang="zh">
    <meta charset="utf-8" />
    <title>注册用户</title>
    <link rel="stylesheet" href="CSS/login.css">
</head>
<body>
<%
    if(session.getAttribute("UserBean")!=null) response.sendRedirect("http://localhost:8080/infor.jsp");
%>
<div class="bg">
    <h2>
        <div class="base_color" style="color: #4a4848ad;">
            黑色沙漠
        </div>
    </h2>
    <div class="body">
        <br>
        <div>
            <div style="width: 100%;float: left;">
                <span style="margin-left: 10px; float: left;font-size: 18px">注册</span>
                <a href="login.jsp" style="margin-right: 10px; float: right;">登录</a>
                <span style="float: right;">已有账号?</span>
            </div>
            <div>
                <form action="signupCheck.jsp" method="POST">
                    <div>
                        <input class="input_text" type="text" name="xing" placeholder="*姓" required="required" autofocus style="margin-top: 10px;width: 178px;">
                        <input class="input_text" type="text" name="ming" placeholder="*名" required="required" autofocus style="margin-top: 10px;width: 178px;">
                    </div>
                    <div>
                        <input class="input_text" type="text" name="username" placeholder="*用户名" required="required" style="margin-top: 10px;">
                    </div>
                    <div>
                        <input class="input_text" type="password" name="password" placeholder="*密码" required="required" style="margin-top: 10px;">
                    </div>
                    <div>
                        <input class="input_text" type="password" name="repassword" placeholder="*确认密码" required="required" style="margin-top: 10px;">
                    </div>
                    <div style="width: 360px;margin:10px auto;">
                        <div style="font-size: 15px;">
                            <input type="checkbox" name="agree" id="agree">
                            <label for="agree">已阅读并同意</label>
                            <a href="">使用条款</a>
                        </div>
                    </div>
                    <input class="input_submit" type="submit" name="注册" value="注册">
                </form>
            </div>
        </div>

        <div>
        <div>
            <span style="color: #808080d9;font-size: 14px;">其他登录方式</span>
            <hr style="width: 360px">
            <div style="margin-top: 10px;">
                <a href="login/dgut" title="东莞理工学院登录">
                    <img src="images/dgut.png" alt="东莞理工学院登录">
                </a>
            </div>

        </div>
    </div>
    <br>
</div>
</div>
</body>
</html>
